package org.vectrics.common.reporting;

import java.util.Date;

import org.vectrics.common.db.OwnedObject;
import org.vectrics.common.db.RecordObject;
import org.vectrics.domain.Domain;
import org.vectrics.user.Person;

public class Report implements RecordObject, OwnedObject {
	public static final String FORMAT_PDF = "FORMAT_PDF"; 
	
	private Long id = null;
	private Domain domain = null;
	private Person createdBy = null;
	private Date createdDate = null;
	private String name = null;
	private String description = null;
	private String format = null;
	private boolean voided = false;
	
	public Report() {
		super();
		// TODO Auto-generated constructor stub
	}


	public Domain getDomain() {
		return domain;
	}


	public void setDomain(Domain domain) {
		this.domain = domain;
	}


	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}



	public Person getCreatedBy() {
		return createdBy;
	}


	public void setCreatedBy(Person createdBy) {
		this.createdBy = createdBy;
	}


	public Date getCreatedDate() {
		return createdDate;
	}


	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public String getFormat() {
		return format;
	}


	public void setFormat(String format) {
		this.format = format;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public boolean getVoided() {
		return voided;
	}


	public void setVoided(boolean voided) {
		this.voided = voided;
	}
	
}
